package com.galengao.springboot.validateAndResponse;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 自定义异常处理
 *
 * @author GalenGao
 * @version Id: BizException.java, v 0.1 2022/6/2 14:07 GalenGao Exp $$
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BizException extends RuntimeException{

    private Integer code;

    private String message;
}
